/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package Servlet.search;

import java.io.IOException;
import java.io.PrintWriter;
import javax.servlet.ServletException;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

/**
 *
 * @author admin
 */
public class search_xiangqing extends HttpServlet {

        @Override
    protected void doPost(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException {

        resp.sendRedirect("/search_results.jsp?&type=1&keywords=" + req.getParameter("keywords")+"&shengid="+req.getParameter("shengid")+"&shiid="+req.getParameter("shiid")+"&xianid="+req.getParameter("xianid")+"&shijian="+req.getParameter("shijian")+"&gonggao="+req.getParameter("gonggao"));
    }

}
